Skip to content

The /moderate tool throws an internal server error while filtering by product #2242

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
emilghittasv opened this issue Mar 10, 2025 · 6 comments
Assignees
Labels
bug Something isn't working

Comments

@emilghittasv
Copy link
Collaborator

Steps to reproduce
Steps to reproduce the behavior:

  1. Go to https://support.mozilla.org/en-US/moderate
  2. Choose a product from the Filter by product: dropdown
  3. Navigate through the pagination items.

Expected behavior
The moderation tool is stable

Actual behavior
SUMO throws an internal server error or returns the filtered items quite slow.

Additional context
This issue is reproducible in prod

@emilghittasv emilghittasv added the bug Something isn't working label Mar 10, 2025
@github-project-automation github-project-automation bot moved this to ❓ triage in Mozilla Support Mar 10, 2025
@emilghittasv emilghittasv moved this from ❓ triage to 🗄 backlog in Mozilla Support Mar 10, 2025
@smithellis smithellis self-assigned this Mar 10, 2025
@smithellis smithellis moved this from 🗄 backlog to 📚 review in Mozilla Support Mar 10, 2025
@smithellis
Copy link
Collaborator

mozilla/kitsune#6549

@smithellis smithellis moved this from 📚 review to 🔎 QA in Mozilla Support Mar 10, 2025
@emilghittasv
Copy link
Collaborator Author

@akatsoulas @smithellis

Yesterday I've created around 5k test data for the moderation tool (AAQ questions). The moderation tool was a bit slow when filtering by product and navigating through the pagination items but I couldn't cause an internal server error to occur.

I've bumped the test data to 10k and now I've hit the breaking point for stage meaning that I constantly hit the Internal Server Error (example: https://support.allizom.org/en-US/moderate?product=ios)

@akatsoulas akatsoulas self-assigned this Mar 11, 2025
@akatsoulas
Copy link
Collaborator

PR mozilla/kitsune#6552

@emilghittasv
Copy link
Collaborator Author

@akatsoulas

Even with mozilla/kitsune#6552, unfortunately the ~10k test data is still too much for stage to handle.

@akatsoulas
Copy link
Collaborator

PR mozilla/kitsune#6554

@emilghittasv
Copy link
Collaborator Author

I can confirm that the moderation tool works nicely with ~10k test data now in stage.

I'm moving this ticket inside the release column.

@emilghittasv emilghittasv moved this from 🔎 QA to 🚢 release in Mozilla Support Mar 11, 2025
@github-project-automation github-project-automation bot moved this from 🚢 release to ✔ done in Mozilla Support Mar 12, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Archived in project
Development

No branches or pull requests

3 participants